package com.ruoyi.elebook.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 【请填写功能名称】对象 book_mp_elebook
 *
 * @author ruoyi
 * @date 2024-02-02
 */
public class BookMpElebook extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 公众号数据库中id */
    @Excel(name = "公众号数据库中id")
    private Long mpId;

    /** 电子书id */
    @Excel(name = "电子书id")
    private Long elebookId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setMpId(Long mpId)
    {
        this.mpId = mpId;
    }

    public Long getMpId()
    {
        return mpId;
    }
    public void setElebookId(Long elebookId)
    {
        this.elebookId = elebookId;
    }

    public Long getElebookId()
    {
        return elebookId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("mpId", getMpId())
                .append("elebookId", getElebookId())
                .toString();
    }
}
